package com.forkjoin;

/**
 * 估值状态
 * @author mayixiang
 * @date 2021-02-18 13:22
 */
public class EvaluateState implements MyState {
    private StateMachine stateMachine;

    public EvaluateState(StateMachine stateMachine){
        this.stateMachine = stateMachine;
    }
     public void start() {

    }

     public void evaluate() {
         // TODO 估值

         // TODO 改变状态
         stateMachine.setState(stateMachine.checkAndRptState);
    }

     public void checkAndRpt() {

    }

     public void end() {

    }
}
